-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Only fetch alerts belong to the target repo and branch #3766
Conversation
@huydhn is attempting to deploy a commit to the Meta Open Source Team on Vercel. A member of the Team first needs to authorize it. |
The fix itself is ready. But I want to add one more test to cover the logic. |
Not super important, but one way to make a logic change + formatting easier to review is to split them into two separate commits as GH allows to review commits one by one. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Thanks for the quick fix, Huy!
Noted. I guess I will need to keep it ufmt for this PR mainly because this has mixed in together with the fix. Undo ufmt and re-apply the fix is a pain, so I'll remember to split them next time. The most important part of the fix is in |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
This fixes a bug where the alert script will fetch and close all active alerts belonging to all repos and branches. It should only need alerts from the selected repo and branch, i.e.
pytorch/pytorch
andmaster
Also
ufmt format
the script to beautify it.Testing